package com.oig.base.api.fallback;

import com.oig.base.api.AreaService;
import com.oig.sys.base.vo.AreaVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class AreaServiceFallBackImpl implements AreaService {

    @Setter
    private Throwable cause;

    @Override
    public AreaVo findAreaByName(String name) {
        log.error("findAreaByName feign error", cause);
        return null;
    }


}
